package com.vma.interfaceShoes.util;

import java.util.List;

public class JFinalTool {
	public static String getInStr(String params){
		String[] paramArr = params.split(",");
		String paramStr = "";
    	for(String param : paramArr){
    		paramStr += "?,";
    	}
    	paramStr = paramStr.substring(0, paramStr.length()-1);
    	return paramStr;
	}
	
	public static List getInList(List result, String params){
		String[] paramArr = params.split(",");
    	for(String param : paramArr){
    		result.add(param);
    	}
    	return result;
	}
}
